package com.weifangfirecontrolformal.weifangfirecontrolformal.web.service.business.businessEvaluation;

import cn.hutool.json.JSONObject;
import com.weifangfirecontrolformal.weifangfirecontrolformal.common.base.BaseService;
import com.weifangfirecontrolformal.weifangfirecontrolformal.support.model.RespEntity;
import com.weifangfirecontrolformal.weifangfirecontrolformal.support.utils.requestutil.HttpRequestUtil;
import org.springframework.stereotype.Service;

/**
 * @author Yang yu
 * @version 1.0
 * @date 2020/7/20 15:31
 */
@Service
public class BusinessEvaluationService extends BaseService {

    /**
     * 单位评估服务
     *
     * @param jsonParam
     * @return
     */
    public RespEntity getBusinessEvaluation(JSONObject jsonParam) {
        jsonParam = HttpRequestUtil.commonHttpRequestParamConvert(getRequest());
        return restJava(jsonParam, "businessJava", "businessEvaluation", "business");
    }
}
